/* @flow */

import React, { Component } from 'react';
import {
  View,
  Text,
  StyleSheet,
} from 'react-native';

import {
  StackNavigator,
  TabNavigator,
  DrawerNavigator
} from 'react-navigation'
// 导入全局组件
import Colors from './Colors'

//导入组件
import HomePage from './Pages/HomePage/HomePage';
import DetailPage from './Pages/HomePage/DetailPage';

const RootStack = StackNavigator({
  detail:{screen:DetailPage,navigationOptions:{title:'详情'}},
  home:{screen:HomePage,navigationOptions:{title:'首页'}},
});

export default  RootStack;
